<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex,nofollow" />
<?php

if($_GET['blog'])
{
$blog = $_GET['blog'];
$affichepage = true;
$commencer = true;
$newurl = 'on';
	if($_GET['format'])
	$format = htmlspecialchars($_GET['format']);
	else
	$format = 'html';
$linkcolor = htmlspecialchars($_GET['linkcolor']);
}

else
{
$blog = htmlspecialchars($_POST['blog']);
$affichepage = htmlspecialchars($_POST['affichepage']);
$commencer = htmlspecialchars($_POST['commencer']);
$newurl = htmlspecialchars($_POST['newurl']);
$format = htmlspecialchars($_POST['format']);
$linkcolor = htmlspecialchars($_POST['linkcolor']);
}
?>

<title>Sommaire de <?php echo $blog; ?></title>
</head>
<body>

<?php
error_reporting(0);

if($format == 'html')
require("fonctionshtml.php");
else
require("fonctions.php");

echo '<h1>Sommaire de '.$blog.'</h1>';

$nbpages = getNombrePages ($blog);
skyCode ($blog, $nbpages,$affichepage,$commencer,$newurl,$linkcolor);

//echo '<p>[size=14px][font=Comic Sans MS]Généré grâce à [a=http://anothertime.skyrock.com/][g]Anothertime[/g][/a][/font][/size]</p>';
?>